cmake_minimum_required(VERSION 2.6)
GETCURRENTFOLDER()
FINDBOOST()

set(LibRPC3_SOURCE_DIR ${RakNet_SOURCE_DIR}/DependentExtensions/RPC3/)

project(RPC3)
IF (WIN32 AND NOT UNIX)
	SET(PLUGINFILES ${LibRPC3_SOURCE_DIR}/RPC3.cpp ${LibRPC3_SOURCE_DIR}/RPC3.h ${LibRPC3_SOURCE_DIR}/RPC3_Boost.h)
	SOURCE_GROUP(Plugin FILES ${PLUGINFILES})
	SOURCE_GROUP(Sample FILES RPC3Sample.cpp)
	SET(EXTRALIBS "")
	SET(EXTRASOURCES ${PLUGINFILES})
ELSE(WIN32 AND NOT UNIX)
	SET(EXTRALIBS LibRPC3)
	SET(EXTRASOURCES "")
ENDIF(WIN32 AND NOT UNIX)
SET(EXTRAINCLUDES ${LibRPC3_SOURCE_DIR} ${Boost_INCLUDE_DIRS})
STANDARDSUBPROJECTWITHOPTIONSSET(${current_folder})






